<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head th:include="head :: common_head(~{::title},~{::link})">
    <title>staff</title>
    <link rel="stylesheet" href="sys/staff/staff.css" media="all" />
</head>
<!-- 员工录入 页面 -->
<body>
    <div class="div-body">

        <blockquote class="layui-elem-quote">
            系统管理 / 员工录入
        </blockquote>

        <div class="layui-card " style="height: calc(100% - 52px)">
            <div class="layui-card-header">员工录入</div>
            <div class="layui-card-body" >
                <form class="layui-form staffForm" lay-verify="staffForm">
                    <div class="group1">

                        <div class="layui-form-item">
                            <label class="layui-form-label label4">员工编号：</label>
                            <div class="layui-input-block block4">
                                <input type="text" name="vstaffid" maxlength="8" placeholder="请输入员工编号" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label label2">职位：</label>
                            <div class="layui-input-block block2">
                                <select name="vpositionid" lay-filter="aihao"></select>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label label3">评定组：</label>
                            <div class="layui-input-block block3">
                                <select name="vappraiseflg" lay-filter="aihao"></select>
                            </div>
                        </div>

                        <!--<div class="layui-form-item">
                            <label class="layui-form-label" style="width: 77px">手机号：</label>
                            <div class="layui-input-block" style="margin-left: 77px">
                                <input type="text" name="vphone" maxlength="11" lay-verify="myvphone" placeholder="请输入手机号" autocomplete="off" class="layui-input">
                            </div>
                        </div>-->

                    </div>
                    <div class="group2">

                        <div class="layui-form-item">
                            <label class="layui-form-label label4">员工姓名：</label>
                            <div class="layui-input-block block4">
                                <input type="text" name="vstaffname" maxlength="30" placeholder="请输入员工姓名" autocomplete="off" class="layui-input">
                            </div>
                        </div>


                        <div class="layui-form-item">
                            <label class="layui-form-label label2">班组：</label>
                            <div class="layui-input-block block2">
                                <select name="vteamid" lay-filter="aihao"></select>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <label class="layui-form-label label3">工厂：</label>
                            <div class="layui-input-block block3">
                                <select name="vfactoryflg" lay-filter="aihao"></select>
                            </div>
                        </div>


                        <div class="layui-form-item">
                            <div class="layui-input-block btn-block">
                                <button class="layui-btn layui-btn-sm btncolor" lay-submit lay-filter="staffSelectTable"><i class="layui-icon">&#xe615;</i>查询</button>
                                <button type="button" id="staffAdd" class="layui-btn layui-btn-sm btncolor"><i class="layui-icon">&#xe61f;</i>新增</button>
                            </div>
                        </div>
                    </div>
                </form>

                <table id="staffTable" lay-filter="staffTable"></table>
            </div>
        </div>

    </div>

    <div th:replace="head :: common_js(~{::script})">
        <script type="text/javascript" th:src="@{/sys/staff/staff.js}"></script>
    </div>


</body>
</html>